import React from 'react';
import Demo from "./demo";
import {pathFactory} from "../Helper/common";
import TabDemo1 from "./tab/tab.demo1";
import TabDemo2 from "./tab/tab.demo2";

const Tabdemo = () => {
  return (
    <div>
     <Demo name={pathFactory(1,'tab')} intro={'基本用法'}>
       <TabDemo1/>
     </Demo>

      <Demo name={pathFactory(2,'tab')} intro={'居中显示'}>
        <TabDemo2/>
      </Demo>
    </div>
  );
};

export default Tabdemo;